//
//  UIDevice+XBKit.h
//  xiaoTest
//
//  Created by xiao_shoubao on 16/9/24.
//  Copyright © 2016年 xiao_shoubao. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef NS_ENUM(NSUInteger, UIDeviceFamily) {
    UIDeviceFamilyiPhone,
    UIDeviceFamilyiPod,
    UIDeviceFamilyiPad,
    UIDeviceFamilyAppleTV,
    UIDeviceFamilyUnknown,
};

@interface UIDevice (XBKit)
    
/**
 Returns a machine-readable model name in the format of "iPhone4,1"
*/
- (NSString *)modelIdentifier;

/**
 Returns a human-readable model name in the format of "iPhone 4S". Fallback of the the `modelIdentifier`value.机型
*/
- (NSString *)modelName;


@end
